
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%--ctxPath--%>
<c:set var="ctxPath" value="${pageContext.request.contextPath}" />
<%--静态文件目录 --%>
<c:set var="staticPath" value="${ctxPath}/static" />
<c:set var="role_id" value="${requestScope.role.id}" />
<c:set var="name" value="${requestScope.role.name}" />
<c:set var="roledesc" value="${requestScope.role.roleDesc}" />
<c:set var="status" value="${requestScope.role.status}" />
<c:set var="code" value="${requestScope.role.code}" />
<!DOCTYPE html>
<html>
<%@include file="../common/baseCss.jsp"%>
<head>
<script type="text/javascript">
	var ctxPath = "${ctxPath }";
	var role_id = "${role_id}";
	var name = "${name}";
	var roledesc = "${roledesc}";
	var status = "${status}";
	var code = "${code}";
</script>

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta charset="utf-8" />
<meta name="renderer" content="webkit" />
<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<title></title>
<!-- bootstrap & fontawesome -->

<link href="${staticPath}/assets/css/lanrenzhijia.css" type="text/css"
	rel="stylesheet" />
</head>
<body class="no-skin">
	<div class="main-container" id="main-container">
		<div class="main-content">
			<div class="main-content-inner">
				<div class="page-content">
					<div class="row">
						<div class="col-xs-12">
							<div class="right_main_content">
								<div class="widget-container-col">
									<div class="widget-box">
										<div class="widget-header">
											<h4 class="widget-title bigger lighter">角色列表</h4>
										</div>
										<div class="widget-body">
											<div class="widget-toolbox">
												<div class="btn-toolbar">
													<div class="btn-group">
														<!-- 功能按钮区-->
														<button id="role_go_add" class="btn btn-xs btn-white">
															<li class="fa fa-floppy-o bigger-120"></li>&nbsp;保存&nbsp;
														</button>
														<!-- 点击返回按钮用到了超链接 -->
														<a href="${ctxPath}/role/index.do">
															<button id="go_back" class="btn btn-xs btn-white">
																<li class="fa fa-backward bigger-120"></li>&nbsp;返回上一级&nbsp;
															</button>
														</a>
													</div>
												</div>
											</div>
											<div class="widget-main no-padding tb-grid">
												<div class="row hi" style="padding-right: 0.5rem;">
													<div class="col-xs-4 left">
														<br />
														<form id="add_role_form" class="form-horizontal"
															role="form">

															<div class="col-sm-12 form-group ">
																<label class="col-sm-4 control-label no-padding-right">角色编号
																	<i class="text-danger">*</i>：
																</label>
																<div class="col-sm-8">
																	<input type="text" name="code" id="codesave"
																		placeholder="角色编号" class="col-xs-9" />
																</div>
															</div>

															<div class="col-sm-12 form-group ">
																<label class="col-sm-4 control-label no-padding-right">角色名称
																	<i class="text-danger">*</i>：
																</label>
																<div class="col-sm-8">
																	<input type="text" name="name" id="namesave"
																		placeholder="角色名称" class="col-xs-9" />
																</div>
															</div>

															<div class="col-sm-12 form-group">
																<label class="col-sm-4 control-label no-padding-right">角色状态：
																</label>
																<div class="col-sm-8">
																	<select name="status" id="role_status"
																		class="col-xs-9 ">
																	</select>
																</div>
															</div>
															<div class="col-sm-12 form-group">
																<label class="col-sm-4 control-label no-padding-right">角色描述：
																</label>
																<div class="col-sm-8">
																	<textarea class="role_desc" name="MSG" cols=32 rows=4
																		autofocus="autofocus" placeholder="角色描述">
        																</textarea>
																</div>
															</div>

															<div class="form-group error "
																style="padding-left: 13rem;"></div>
														</form>
													</div>
													<div class="col-xs-8 right" id="checkBox">

														<div class="checkbox panel panel-default col-xs-12"
															style="padding-left: 25px; overflow-y: auto; overflow-x: hidden; height: 380px;"
															id="main"></div>

													</div>
												</div>


											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
				<!-- /.page-content -->
			</div>
		</div>
		<!-- /.main-content -->
	</div>
	<!-- /.main-container -->
	<%@include file="../common/base.jsp"%>
	<script src="${staticPath}/zTree/js/jquery.ztree.core.min.js"
		type="text/javascript"></script>
	<script src="${staticPath}/zTree/js/jquery.ztree.excheck.min.js"
		type="text/javascript"></script>
	<script src="${staticPath}/fms/role/saveOrUpdate.js"
		type="text/javascript"></script>

</body>
</html>
